package com.wicket.okrbff.biz.service.dto.common;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import javax.validation.constraints.NotNull;
import lombok.Data;
import java.util.Objects;

/**
 * @desc BffTargetFusionDashboardDto
 * @使用场景
 */
@Data
public class BffTargetFusionDashboardDto implements Serializable {

  /**
   * 检查仪表盘更新记录ID
   */
  @ApiModelProperty("检查仪表盘更新记录ID ")
  private String checkItemPanelUpdateId;

  /**
   * 检查项ID
   */
  @ApiModelProperty("检查项ID")
  private String checkItemId;

  /**
   * 检验项标识
   */
  @ApiModelProperty("检验项标识")
  private String checkItemCode;

  /**
   * 检查项名称
   */
  @ApiModelProperty("检查项名称 ")
  private String checkItemName;

  /**
   * 目标数值
   */
  @ApiModelProperty("目标数值")
  private Long targetValue;

  /**
   * 实际数值
   */
  @ApiModelProperty("实际数值")
  private Long actualValue;

  /**
   * 是否已完成 TRUE:是 FALSE:否
   */
  @ApiModelProperty("是否已完成")
  private String isComplete;
@Override
  public boolean equals(Object o) {
      if (this == o) return true;
      if (o == null || getClass() != o.getClass()) return false;
      if (!super.equals(o)) return false;
      BffTargetFusionDashboardDto that = (BffTargetFusionDashboardDto) o;
      return  checkItemPanelUpdateId == that.checkItemPanelUpdateId&&checkItemId == that.checkItemId&&checkItemCode == that.checkItemCode&&checkItemName == that.checkItemName&&targetValue == that.targetValue&&actualValue == that.actualValue&&isComplete == that.isComplete;
    }
@Override
  public int hashCode() {
      return Objects.hash(super.hashCode(), checkItemPanelUpdateId,checkItemId,checkItemCode,checkItemName,targetValue,actualValue,isComplete);
    }

}
